by fits and starts

Adverb
  1. intermittently
    • he worked on his book by fits and starts
by fits and starts
He completed the project by fits and starts, with long pauses between bursts of effort.